wayland: Clean up code determining how to map a window
authorJonas Ådahl <jadahl@gmail.com>
Tue, 13 Oct 2015 12:39:02 +0000 (20:39 +0800)
committerJonas Ådahl <jadahl@gmail.com>
Sun, 18 Oct 2015 13:32:22 +0000 (21:32 +0800)
commit9fe40f9a469f2f73f5166472ebc85b7be5ff9947
tree15c27ebfa4d5a86d4c6274a874eb184cd344a4c1
parent25483304cdc967c374a435200416affb573583f8
wayland: Clean up code determining how to map a window

Restructure the mapping procedure so that its known up front what the
expected way mapping is to be done (subsurface, popup or stand alone),
and warn if it fails to actually map in such a way (for example a popup
without a parent or device grab, a tooltip without a parent).

https://bugzilla.gnome.org/show_bug.cgi?id=756496
gdk/wayland/gdkwindow-wayland.c